﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CoreRp.Db_Models
{
    /// <summary>
    /// 企业
    /// </summary>
    [Index("PK_RAP_COMPANY","COMPANYCODE",IsUnique =true)]
    public class RAP_COMPANY
    {
        /// <summary>
        /// 企业代码
        /// </summary>
        [Column(IsPrimary =true)]
        public string COMPANYCODE { get; set; }
        /// <summary>
        /// 企业名称
        /// </summary>
        public string COMPANYNAME { get; set; }
        /// <summary>
        /// 是否可用、Y/N
        /// </summary>
        public string ENABLE { get; set; }
    }
}
